Crate ibverbs_sys

source ·

Modules§

Structs§

Constants§

Functions§

  • ibv_ack_async_event - Acknowledge an async event @event: Event to be acknowledged.
  • ibv_ack_cq_events - Acknowledge CQ completion events @cq: CQ to acknowledge events for @nevents: Number of events to acknowledge.
  • ibv_alloc_pd - Allocate a protection domain
  • ibv_attach_mcast - Attaches the specified QP to a multicast group. @qp: QP to attach to the multicast group. The QP must be a UD QP. @gid: Multicast group GID. @lid: Multicast group LID in host byte order.
  • ibv_close_device - Release device
  • ibv_create_ah - Create an address handle.
  • ibv_create_ah_from_wc - Creates an address handle associated with the sender of the specified work completion. @pd: The protection domain associated with the address handle. @wc: Work completion information associated with a received message. @grh: References the received global route header. This parameter is ignored unless the work completion indicates that the GRH is valid. @port_num: The outbound port number to associate with the address.
  • ibv_create_comp_channel - Create a completion event channel
  • ibv_create_cq - Create a completion queue @context - Context CQ will be attached to @cqe - Minimum number of entries required for CQ @cq_context - Consumer-supplied context returned for completion events @channel - Completion channel where completion events will be queued. May be NULL if completion events will not be used. @comp_vector - Completion vector used to signal completion events. Must be >= 0 and < context->num_comp_vectors.
  • ibv_create_qp - Create a queue pair.
  • ibv_create_srq - Creates a SRQ associated with the specified protection domain. @pd: The protection domain associated with the SRQ. @srq_init_attr: A list of initial attributes required to create the SRQ.
  • ibv_dealloc_pd - Free a protection domain
  • ibv_dereg_mr - Deregister a memory region
  • ibv_destroy_ah - Destroy an address handle.
  • ibv_destroy_comp_channel - Destroy a completion event channel
  • ibv_destroy_cq - Destroy a completion queue
  • ibv_destroy_qp - Destroy a queue pair.
  • ibv_destroy_srq - Destroys the specified SRQ. @srq: The SRQ to destroy.
  • ibv_detach_mcast - Detaches the specified QP from a multicast group. @qp: QP to detach from the multicast group. @gid: Multicast group GID. @lid: Multicast group LID in host byte order.
  • ibv_event_type_str - Return string describing event_type enum value
  • ibv_fork_init - Prepare data structures so that fork() may be used safely. If this function is not called or returns a non-zero status, then libibverbs data structures are not fork()-safe and the effect of an application calling fork() is undefined.
  • ibv_free_device_list - Free list from ibv_get_device_list()
  • ibv_get_async_event - Get next async event @event: Pointer to use to return async event
  • ibv_get_cq_event - Read next CQ event @channel: Channel to get next event from. @cq: Used to return pointer to CQ. @cq_context: Used to return consumer-supplied CQ context.
  • ibv_get_device_guid - Return device’s node GUID
  • ibv_get_device_index - Return kernel device index
  • ibv_get_device_list - Get list of IB devices currently available @num_devices: optional. if non-NULL, set to the number of devices returned in the array.
  • ibv_get_device_name - Return kernel device name
  • ibv_get_pkey_index - Translate a P_Key into a P_Key index
  • ibv_import_device - Import device
  • ibv_import_mr - Import a memory region
  • ibv_import_pd - Import a protetion domain
  • ibv_init_ah_from_wc - Initializes address handle attributes from a work completion. @context: Device context on which the received message arrived. @port_num: Port on which the received message arrived. @wc: Work completion associated with the received message. @grh: References the received global route header. This parameter is ignored unless the work completion indicates that the GRH is valid. @ah_attr: Returned attributes that can be used when creating an address handle for replying to the message.
  • ibv_modify_qp - Modify a queue pair.
  • ibv_modify_srq - Modifies the attributes for the specified SRQ. @srq: The SRQ to modify. @srq_attr: On input, specifies the SRQ attributes to modify. On output, the current values of selected SRQ attributes are returned. @srq_attr_mask: A bit-mask used to specify which attributes of the SRQ are being modified.
  • ibv_node_type_str - Return string describing node_type enum value
  • ibv_open_device - Initialize device for use
  • ibv_port_state_str - Return string describing port_state enum value
  • ibv_query_device - Get device properties
  • ibv_query_ece - Get accepted ECE options
  • ibv_query_gid - Get a GID table entry
  • ibv_query_pkey - Get a P_Key table entry
  • ibv_query_port - Get port properties
  • ibv_query_qp - Returns the attribute list and current values for the specified QP. @qp: The QP to query. @attr: The attributes of the specified QP. @attr_mask: A bit-mask used to select specific attributes to query. @init_attr: Additional attributes of the selected QP.
  • ibv_query_srq - Returns the attribute list and current values for the specified SRQ. @srq: The SRQ to query. @srq_attr: The attributes of the specified SRQ.
  • ibv_rate_to_mbps - Convert the IB rate enum to Mbit/sec. For example, IBV_RATE_5_GBPS will return the value 5000. @rate: rate to convert.
  • ibv_rate_to_mult - Convert the IB rate enum to a multiple of the base rate of 2.5 Gbit/sec. For example, IBV_RATE_5_GBPS will be converted to 2, since 5 Gbit/sec is 2 * 2.5 Gbit/sec. @rate: rate to convert.
  • ibv_reg_dmabuf_mr - Register a dambuf-based memory region
  • ibv_reg_mr - Register a memory region
  • ibv_reg_mr_iova - Register a memory region with a virtual offset address
  • ibv_reg_mr_iova2 - Register memory region with a virtual offset address
  • ibv_rereg_mr - Re-Register a memory region
  • ibv_resize_cq - Modifies the capacity of the CQ. @cq: The CQ to resize. @cqe: The minimum size of the CQ.
  • ibv_set_ece - Set ECE options
  • ibv_unimport_mr - Unimport a memory region
  • ibv_unimport_pd - Unimport a protetion domain

Type Aliases§

Unions§